package org.sag.mallbf.type;

public enum SegmentTrunkType {
    OBJGROUP((short) 1);

    private short value;

    SegmentTrunkType(short value) {
        this.value = value;
    }

    public short getValue() {
        return value;
    }

    public void setValue(short value) {
        this.value = value;
    }

    public static SegmentTrunkType get(short value) {
        for (SegmentTrunkType e : values()) {
            if (e.getValue() == value) {
                return e;
            }
        }
        return null;
    }
}
